import store from './index'


store.state.userInfoX = JSON.parse(localStorage.getItem("userInfoX") as any) 
if(localStorage.getItem("webSocketX") as any && localStorage.getItem("webSocketX") !== 'undefined'){
	store.state.webSocketX = JSON.parse(localStorage.getItem("webSocketX") as any)
}
if(localStorage.getItem("battleInfoX") as any && localStorage.getItem("battleInfoX") !== 'undefined'){
	store.state.battleInfoX = JSON.parse(localStorage.getItem("battleInfoX") as any)
}
if(localStorage.getItem("battleMessageX") as any && localStorage.getItem("battleMessageX") !== 'undefined'){
	store.state.battleMessageX = JSON.parse(localStorage.getItem("battleMessageX") as any)
}
